<%--
  Created by IntelliJ IDEA.
  User: zsr
  Date: 2021/3/23
  Time: 20:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String basePath =request.getScheme() //获取请求的协议： http
                    +"://"
                    +request.getServerName()// 获取请求的服务器 ip 或域名
                    +":"
                    +request.getServerPort()//获取请求的服务器端口号
                    +request.getContextPath()//获取当前工程路径
                    +"/";

%>

<!--写base标签，永远固定相对路径跳转的结果-->
<%--<base href= "${applicationScope.basePath}">--%>
<base href= "<%=basePath%>">
<link type="text/css" rel="stylesheet" href="static/css/style.css" >
<script type="text/javascript" src="static/script/jquery-1.7.2.js"></script>
